/* === LICENSE INFO ===
 * This source file is subject to the GPLv3 license that is bundled with this
 * package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl.txt
 * === end of LICENSE INFO === */

/*==============================================================================
  File Name   : main.cpp
  Description : Test driver for <xxx> module.

  Created on  : yyyy-mm-dd
  Updated on  : yyyy-mm-dd
  Updated by  :

  Cautions    : (important notes)
  ============================================================================*/

//------------------------------------------------------------------------------
//-- INCLUDES & DEFINES
//------------------------------------------------------------------------------
#include <iostream>
#include <stdexcept>


//------------------------------------------------------------------------------
//-- TYPEDEF / STRUCT / UNION / ENUM
//------------------------------------------------------------------------------


//------------------------------------------------------------------------------
//-- GLOBAL
//------------------------------------------------------------------------------
const std::string g_AppName       = "Test driver";
const std::string g_AppVersion    = "1.0.0.1";
const std::string g_ModuleName    = "<xxx> module";
const std::string g_ModuleVersion = "1.0.0.1";


//------------------------------------------------------------------------------
//-- FUNCTION PROTOTYPES
//------------------------------------------------------------------------------


//------------------------------------------------------------------------------
//-- MAIN FUNCTION
//------------------------------------------------------------------------------
int main(int _argc, char* _argv[])
{
    std::cout << std::endl << "======" << std::endl;
    std::cout << g_AppName.c_str() << ", version " << g_AppVersion.c_str();
    std::cout << std::endl << "for " << g_ModuleName.c_str() <<
        ", version " << g_ModuleVersion.c_str();
    std::cout << std::endl << "======" << std::endl << std::endl;


    // Place main test code in try block.
    try
    {

    }
    catch (std::exception& e)
    {
        std::cerr << "[EMERGENCY] main(): " << e.what() << std::endl;
    }
    catch (...)
    {
        std::cerr << "[EMERGENCY] main(): Unknown exception detected." <<
                std::endl;
    }


    //-- Stop the console screen before quit for displaying the output.
    std::cout << std::endl << std::endl << "Press <ENTER> key to exit";
    std::cin.get();

	return 0;
}


//------------------------------------------------------------------------------
//-- FUNCTION IMPLEMENTATIONS
//------------------------------------------------------------------------------

